package com.bobo.service;

import java.util.List;

import com.bobo.domain.Brand;
import com.bobo.domain.Goods;
import com.bobo.domain.Product;
import com.bobo.domain.Trail;
import com.github.pagehelper.PageInfo;

public interface GoodsService {

	PageInfo<Goods> listGoods(Goods goods,Integer pageNum,Integer pageSize);//商品
	List<Brand> listBrand();//品牌
	List<Product> ListProduct();//品类
	Goods get(Integer id);//单查
	int update(Goods goods);
	int  addTrail(Trail trail);//添加轨迹
	List<Trail> getTrailTotal();//统计操作信息
	
	List<Trail> getTraiInfo(Integer minute);//统计在多少分钟内
	int  deleteById(Integer id);//删除
	int  add(Goods goods);//增加商品
}
